﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using ERP_RORZE_PRODUCT.Product.Deadline;

namespace ERP_RORZE_PRODUCT.Product.Forms
{
    public partial class Frm_DeadLine : DevExpress.XtraEditors.XtraForm
    {
        ctrlDeadlineCaculation ctrlDeadlinecaculation = new ctrlDeadlineCaculation();
        ctrlDeadlineConfirm ctrlDeadlineconfirm = new ctrlDeadlineConfirm();
        public Frm_DeadLine()
        {
            InitializeComponent();
        }

        private void navItemDeadlineConfirm_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            spcDeadline.Panel2.Controls.Clear();
            spcDeadline.Panel2.Controls.Add(ctrlDeadlineconfirm);
            ctrlDeadlineconfirm.Dock = DockStyle.Fill;
        }

        private void navItemDeadlineCaculation_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
        {
            spcDeadline.Panel2.Controls.Clear();
            spcDeadline.Panel2.Controls.Add(ctrlDeadlinecaculation);
            ctrlDeadlinecaculation.Dock = DockStyle.Fill;
        }
    }
}